[INFO] cloning repository https://github.com/zaphar/win-utils
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zaphar/win-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaphar%2Fwin-utils", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaphar%2Fwin-utils'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8215fc3b56cd083c7f4575e663f0469d51eb9e2d
[INFO] building zaphar/win-utils against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaphar%2Fwin-utils" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/zaphar/win-utils on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/zaphar/win-utils
[INFO] finished tweaking git repo https://github.com/zaphar/win-utils
[INFO] tweaked toml for git repo https://github.com/zaphar/win-utils written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/zaphar/win-utils already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded chunked_transfer v1.2.0
[INFO] [stderr]   Downloaded ascii v1.0.0
[INFO] [stderr]   Downloaded tiny_http v0.7.0
[INFO] [stderr]   Downloaded windows-service v0.3.0
[INFO] [stderr]   Downloaded utfx v0.1.0
[INFO] [stderr]   Downloaded stderrlog v0.4.3
[INFO] [stderr]   Downloaded eventlog v0.1.0
[INFO] [stderr]   Downloaded registry v1.0.0-alpha.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dda3a65acf4d1d9c8282efa1644637c8cf9eb19e3595328c1ec5b12af11e917b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "dda3a65acf4d1d9c8282efa1644637c8cf9eb19e3595328c1ec5b12af11e917b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dda3a65acf4d1d9c8282efa1644637c8cf9eb19e3595328c1ec5b12af11e917b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dda3a65acf4d1d9c8282efa1644637c8cf9eb19e3595328c1ec5b12af11e917b", kill_on_drop: false }`
[INFO] [stdout] dda3a65acf4d1d9c8282efa1644637c8cf9eb19e3595328c1ec5b12af11e917b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1134de5bbb6c1759170c9329e38123768d742e7871b0c6f7d4cf8865a77c1eb2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1134de5bbb6c1759170c9329e38123768d742e7871b0c6f7d4cf8865a77c1eb2", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling syn v1.0.36
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling tinyvec v0.3.3
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling anyhow v1.0.32
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling protobuf v2.16.2
[INFO] [stderr]    Compiling utfx v0.1.0
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling strsim v0.9.3
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling prometheus v0.9.0
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling ascii v1.0.0
[INFO] [stderr]    Compiling chunked_transfer v1.2.0
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling windows-service v0.3.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling thread_local v0.3.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.13
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling winapi-perf-wrapper v0.1.0 (/opt/rustwide/workdir/winapi-perf-wrapper)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> winapi-perf-wrapper/src/lib.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::shared::minwindef::{DWORD, FALSE, TRUE};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> winapi-perf-wrapper/src/lib.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::shared::winerror::ERROR_SUCCESS;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> winapi-perf-wrapper/src/lib.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winapi::um::pdh::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> winapi-perf-wrapper/src/lib.rs:95:32
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let mut buffer_length: DWORD = 0;
[INFO] [stdout]    |                                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhEnumObjectsW` in this scope
[INFO] [stdout]   --> winapi-perf-wrapper/src/lib.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |             PdhEnumObjectsW(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PERF_DETAIL_STANDARD` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 PERF_DETAIL_STANDARD,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:105:17
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 TRUE,
[INFO] [stdout]     |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhEnumObjectsW` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 |                 PdhEnumObjectsW(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PERF_DETAIL_STANDARD` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:120:21
[INFO] [stdout]     |
[INFO] [stdout] 120 |                     PERF_DETAIL_STANDARD,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:121:21
[INFO] [stdout]     |
[INFO] [stdout] 121 |                     FALSE,
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:124:26
[INFO] [stdout]     |
[INFO] [stdout] 124 |             if status == ERROR_SUCCESS {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:162:35
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let mut counter_list_len: DWORD = 0;
[INFO] [stdout]     |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:163:36
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let mut instance_list_len: DWORD = 0;
[INFO] [stdout]     |                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhEnumObjectItemsW` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 |             PdhEnumObjectItemsW(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PERF_DETAIL_STANDARD` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 PERF_DETAIL_STANDARD,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhEnumObjectItemsW` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:181:17
[INFO] [stdout]     |
[INFO] [stdout] 181 |                 PdhEnumObjectItemsW(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PERF_DETAIL_STANDARD` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:189:21
[INFO] [stdout]     |
[INFO] [stdout] 189 |                     PERF_DETAIL_STANDARD,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:193:26
[INFO] [stdout]     |
[INFO] [stdout] 193 |             if status != ERROR_SUCCESS {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhOpenQueryW` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:208:31
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let status = unsafe { PdhOpenQueryW(null_mut(), 0, query.query()) } as u32;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:210:22
[INFO] [stdout]     |
[INFO] [stdout] 210 |         if status != ERROR_SUCCESS {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:256:35
[INFO] [stdout]     |
[INFO] [stdout] 256 |         let mut counter_list_len: DWORD = 0;
[INFO] [stdout]     |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhExpandCounterPathW` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:258:22
[INFO] [stdout]     |
[INFO] [stdout] 258 |             unsafe { PdhExpandCounterPathW(path.as_ptr(), null_mut(), &mut counter_list_len) }
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhExpandCounterPathW` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |             PdhExpandCounterPathW(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:271:22
[INFO] [stdout]     |
[INFO] [stdout] 271 |         if status != ERROR_SUCCESS {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HQuery` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:291:21
[INFO] [stdout]     |
[INFO] [stdout] 291 | pub struct PdhQuery(HQuery);
[INFO] [stdout]     |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HQuery` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:295:37
[INFO] [stdout]     |
[INFO] [stdout] 295 |     pub fn query(&mut self) -> &mut HQuery {
[INFO] [stdout]     |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhValidatePathW` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:301:35
[INFO] [stdout]     |
[INFO] [stdout] 301 |         let mut status = unsafe { PdhValidatePathW(wide_path.as_ptr()) } as u32;
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:302:22
[INFO] [stdout]     |
[INFO] [stdout] 302 |         if status != ERROR_SUCCESS {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HCounter` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:305:33
[INFO] [stdout]     |
[INFO] [stdout] 305 |         let mut counter_handle: HCounter = null_mut();
[INFO] [stdout]     |                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhAddCounterW` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:307:22
[INFO] [stdout]     |
[INFO] [stdout] 307 |             unsafe { PdhAddCounterW(self.0, wide_path.as_ptr(), 0, &mut counter_handle) } as u32;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `PdhCounter`
[INFO] [stdout] ...
[INFO] [stdout] 478 | pub struct PdhCounter(HCounter);
[INFO] [stdout]     | -------------------------------- similarly named tuple struct `PdhCounter` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:308:22
[INFO] [stdout]     |
[INFO] [stdout] 308 |         if status != ERROR_SUCCESS {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PDH_FMT_COUNTERVALUE` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:331:17
[INFO] [stdout]     |
[INFO] [stdout] 293 | impl PdhQuery {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<PDH_FMT_COUNTERVALUE>`
[INFO] [stdout] ...
[INFO] [stdout] 331 |     ) -> Result<PDH_FMT_COUNTERVALUE, PDHStatus> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhCollectQueryData` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:332:35
[INFO] [stdout]     |
[INFO] [stdout] 332 |         let mut status = unsafe { PdhCollectQueryData(self.0) } as u32;
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:333:22
[INFO] [stdout]     |
[INFO] [stdout] 333 |         if status != ERROR_SUCCESS {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PDH_FMT_COUNTERVALUE` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:337:13
[INFO] [stdout]     |
[INFO] [stdout] 337 |             PDH_FMT_COUNTERVALUE {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PDH_FMT_COUNTERVALUE_u` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:339:39
[INFO] [stdout]     |
[INFO] [stdout] 293 | impl PdhQuery {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<PDH_FMT_COUNTERVALUE_u>`
[INFO] [stdout] ...
[INFO] [stdout] 339 |                 u: std::mem::zeroed::<PDH_FMT_COUNTERVALUE_u>(),
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhGetFormattedCounterValue` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:344:13
[INFO] [stdout]     |
[INFO] [stdout] 344 |             PdhGetFormattedCounterValue(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:351:22
[INFO] [stdout]     |
[INFO] [stdout] 351 |         if status != ERROR_SUCCESS {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhCloseQuery` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:471:13
[INFO] [stdout]     |
[INFO] [stdout] 471 |             PdhCloseQuery(self.0);
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HCounter` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:478:23
[INFO] [stdout]     |
[INFO] [stdout] 478 | pub struct PdhCounter(HCounter);
[INFO] [stdout]     |                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhRemoveCounter` in this scope
[INFO] [stdout]    --> winapi-perf-wrapper/src/lib.rs:483:13
[INFO] [stdout]     |
[INFO] [stdout] 483 |             PdhRemoveCounter(self.0);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 41 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `winapi-perf-wrapper`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "1134de5bbb6c1759170c9329e38123768d742e7871b0c6f7d4cf8865a77c1eb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1134de5bbb6c1759170c9329e38123768d742e7871b0c6f7d4cf8865a77c1eb2", kill_on_drop: false }`
[INFO] [stdout] 1134de5bbb6c1759170c9329e38123768d742e7871b0c6f7d4cf8865a77c1eb2
